const { Tray } = require("electron")

const createTray = (app) => {
    const tray = new Tray("basketball.png", "网址收藏器");
    tray.on("click", (e) => {
        if (e.shiftKey) {
            app.quit();
        };
    });
};
module.exports = createTray;